<h5><a href="{:url('add')}" class="btn btn-info btn-sm"><i class="fa fa-plus"></i> 添加</a></h5>
<div class="table-responsive">
	<table class="table">
		<caption>代扣列表</caption>
		<thead class="bg-e">
			<tr>
				<th>收款人</th>
				<th>金额</th>
				<th>截止时间</th>
				<th>付款状态</th>
				<th>实付时间</th>
				<th>操作</th>
			</tr>
		</thead>
		<tbody>
			{volist name="collections" id="vo"}
			<tr>
				<td>{$vo.name}</td>
				<td>{$vo.amount}</td>
				<td>{$vo.deadline}</td>
				<td>{$vo.status_str}</td>
				<td>{$vo.collect_time}</td>
				<td>
					{eq name="vo.status" value="0"}
						<a href="{:url('collect',['id'=>$vo.id])}" class="btn btn-info btn-sm">收款</a>
						<a href="{:url('doclose',['id'=>$vo.id])}" class="btn btn-default btn-sm" onclick="return confirm('删除后无法恢复,确定要删除吗')"><i class="fa fa-close"></i> 关闭</a>
					{/eq}
				</td>
			</tr>
			{/volist}
		</tbody>
	</table>
</div>
<div class="text-center">{$collections->render()}</div>